package br.edu.ufcg.ga.stopcondition;

public class State {

	protected double lastBestFitness;

	protected int repetitionOfBestFitness;

	/**
	 * Current max repetitions of best fitness
	 */
	protected int cMaxRepetitionOfBestFitness;

	protected int numGenerations;

	public State(double lastBestFitness, int repetitionOfBestFitness, int cMaxRepetitionOfBestFitness,
			int numGenerations) {
		super();
		this.lastBestFitness = lastBestFitness;
		this.repetitionOfBestFitness = repetitionOfBestFitness;
		this.cMaxRepetitionOfBestFitness = cMaxRepetitionOfBestFitness;
		this.numGenerations = numGenerations;
	}

}